Throw error message in pre request script is not working